package com.hu.video.service.impl;

import com.hu.video.entity.TUser;
import com.hu.video.mapper.SocialFollowMapper;
import com.hu.video.service.IFansService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class FansServiceImpl implements IFansService {
    @Autowired
    private SocialFollowMapper socialFollowMapper;

    @Override
    public List<Long> getFansIdList(Long userId) {
        return socialFollowMapper.getFansIdList(userId);
    }

    @Override
    public List<TUser> getFansUserList(Long userId) {
        return socialFollowMapper.getFansUserList(userId);
    }
} 